package baidu.day06.doudizhu;

import java.util.ArrayList;
import java.util.HashMap;

// Created: 08/08/2025, ChangJiang Ru
public class Test {

    static HashMap<Integer, String> hm = new HashMap<>();
    static ArrayList<Integer> list = new ArrayList<>();

    /*
    {1=♣3, 2=♥3, 3=♦3, 4=♣3, 5=♣4, 6=♥4, 7=♦4, 8=♣4, 9=♣5, 10=♥5, 11=♦5, 12=♣5, 13=♣6, 14=♥6, 15=♦6, 16=♣6,
    17=♣7, 18=♥7, 19=♦7, 20=♣7, 21=♣8, 22=♥8, 23=♦8, 24=♣8, 25=♣9, 26=♥9, 27=♦9, 28=♣9, 29=♣10, 30=♥10, 31=♦10,
    32=♣10, 33=♣J, 34=♥J, 35=♦J, 36=♣J, 37=♣Q, 38=♥Q, 39=♦Q, 40=♣Q, 41=♣K, 42=♥K, 43=♦K, 44=♣K, 45=♣A, 46=♥A, 47=♦A,
     48=♣A, 49=♣2, 50=♥2, 51=♦2, 52=♣2, 53=BigJoker, 54=LittleJoker}

    player1: 1 4 5 6 7
            ♣3 ♣3 ♣4 ♦4

    {1=♣3, 2=♣4, 3=♣5, 4=♣6, 5=♣7, 6=♣8, 7=♣9, 8=♣10, 9=♣J, 10=♣Q, 11=♣K, 12=♣A, 13=♣2, 14=♥3, 15=♥4, 16=♥5,
    17=♥6, 18=♥7, 19=♥8, 20=♥9, 21=♥10, 22=♥J, 23=♥Q, 24=♥K, 25=♥A, 26=♥2, 27=♦3, 28=♦4, 29=♦5, 30=♦6, 31=♦7,
    32=♦8, 33=♦9, 34=♦10, 35=♦J, 36=♦Q, 37=♦K, 38=♦A, 39=♦2, 40=♣3, 41=♣4, 42=♣5, 43=♣6, 44=♣7, 45=♣8, 46=♣9,
    47=♣10, 48=♣J, 49=♣Q, 50=♣K, 51=♣A, 52=♣2, 53=BigJoker, 54=LittleJoker}

    player 1  4 5 6 7
           ♣3 ♣6
     */

    public static void main(String[] args) {
        // Prepare card
        String[] color = {"♣", "♥", "♦", "♣"};
        String[] number = {"3", "4", "5", "6", "7", "8", "9", "10", "J", "Q", "K", "A", "2"};

        int serialName = 1;
        for (String n : number) {
            for (String c : color) {
                hm.put(serialName, c + n);
                list.add(serialName);
                serialName++;
            }
        }

        hm.put(serialName, "BigJoker");
        serialName++;
        hm.put(serialName, "LittleJoker");
        serialName++;
        System.out.print(hm);
    }
}
